<?php

	$strName_eng = trim($_POST["tName_eng"]);

	if(trim($strName_eng) == "")
	{
		echo "<img src='../images/false.png'>";
		exit();
	}

	include("../connect.php");

	//*** Check Username (already exists) ***//

	$strSQL = "SELECT * FROM employee WHERE emp_nameEng = '".$strName_eng."' ";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
	$objResult = mysql_fetch_array($objQuery);
	if($objResult)
	{
		echo "<img src='../images/false.png'>";
	}
	else
	{
		echo "<img src='../images/true.png'>";
	}

	mysql_close($connection);
?>